html, body {
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body {
  font-size: 14px;
  font-family: 'Merriweather', "Microsoft YaHei",Segoe UI,Tahoma,Arial,Verdana,sans-serif;
  background: #ddd url(../images/background.png) no-repeat;
  background-size: cover;
}

#wrapper {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  -webkit-box-pack: center;
  -webkit-box-align: center;
}
#game-zone {
  display: none;
}

#wait-zone {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  border: 3px solid rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  padding: 0 10px;
  text-align: center;
  background-color: white;
  min-width: 400px;
  z-index: 10;
}

#wait-zone p {
  text-align: left;
}

#last-battle-result {
  font-weight: bold;
}
#player-list strong {
  display: inline-block;
  border: 1px solid #000;
  border-radius: 3px;
  padding: 5px 10px;
  margin-right: 10px;
}
#player-list strong.player-ready {
  color: #ccc;
  border: 1px solid #ccc;
}

#main-info {
  position: fixed;
  font-size: 20px;
  top: 0;
  left: 0;
  padding: 10px 20px;
  border: 3px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 0;
  -webkit-transition: opacity .15s ease-out 0s;
}
#main-info.show {
  opacity: 1;
}

#static-map {
  display: none;
}

.tip {
  position: absolute;
  z-index: 50;
  background: rgba(255, 255, 255, 0.7);
  -webkit-box-shadow: 1px 1px 4px #ddd;
  color: #000;
}
#tip {
  display: inline-block;
  position: fixed;
  padding: 10px 15px;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  min-width: 70px;
  max-width: 350px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-transition: top .5s ease-out 0s;
  top: -41px;
  text-align: center;
}
#tip.show {
  top: 0;
}

#overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 9;
  opacity: 0.5;
  background: white;
}

#dice-wrapper {
  position: absolute;
  top: 160px;
  left: 0;
  width: 100%;
  height: 700px;
  -webkit-perspective: 800;
  -webkit-perspective-origin: 50% 225px;
  -webkit-perspective-origin-x: 50%;
  -webkit-perspective-origin-y: 225px;
  opacity: 0;
  -webkit-transition: opacity .5s ease-out 0s;
}
#dice-wrapper.show {
  opacity: 1;
}

#dice {
  margin: 0 auto;
  height: 100px;
  width: 100px;
  -webkit-transform-style: preserve-3d;
  -webkit-transition: -webkit-transform 1.5s ease-in-out;
  -webkit-transform: translateX(38px) translateY(36px) translateZ(10px) rotateX(-1620deg) rotateY(1080deg) rotateZ(1440deg);
  opacity: 0.92;
}

#dice.backfaces .plane {
  -webkit-backface-visibility: visible;
}

.plane {
  position: absolute;
  height: 100px;
  width: 100px;
  border: 3px solid rgba(243, 178, 49, 1);
  -webkit-border-radius: 12px;
  -webkit-box-sizing: border-box;
  text-align: center;
  font-family: Times, serif;
  font-size: 124pt;
  color: black;
  background-color: white;
  -webkit-transition: -webkit-transform 2s, opacity 2s;
  -webkit-backface-visibility: hidden;
  box-sizing: border-box;
  background-size: cover;
}

#dice > .one {
  -webkit-transform: rotateX(90deg) translateZ(50px);
  background: url(../images/dice/1.png) center center no-repeat;
}

#dice > .two {
  -webkit-transform: translateZ(50px);
  background: url(../images/dice/2.png) center center no-repeat;
}

#dice > .three {
  -webkit-transform: rotateY(90deg) translateZ(50px);
  background: url(../images/dice/3.png) center center no-repeat;
}

#dice > .four {
  -webkit-transform: rotateY(180deg) translateZ(50px);
  background: url(../images/dice/4.png) center center no-repeat;
}

#dice > .five {
  -webkit-transform: rotateY(-90deg) translateZ(50px);
  background: url(../images/dice/5.png) center center no-repeat;
}

#dice > .six {
  -webkit-transform: rotateX(-90deg) translateZ(50px);
  background: url(../images/dice/6.png) center center no-repeat;
}

audio {
  
}